range: remove duplicated code
authorCosimo Cecchi <cosimoc@gnome.org>
Sun, 6 Mar 2016 18:41:34 +0000 (10:41 -0800)
committerCosimo Cecchi <cosimoc@gnome.org>
Sun, 6 Mar 2016 19:10:44 +0000 (11:10 -0800)
This is already called by range_grab_add().

gtk/gtkrange.c

index 3da3dc05ebe4a1a5f3b330941ba9dbea9074ee93..0ec34b4252dd81970a0a41bbcd95c25422442086 100644 (file)
@@ -2720,8 +2720,6 @@ gtk_range_multipress_gesture_pressed (GtkGestureMultiPress *gesture,
 
       range_grab_add (range, priv->mouse_location);
 
-      gtk_range_queue_draw_location (range, priv->mouse_location);
-
       scroll = range_get_scroll_for_grab (range);
       if (scroll == GTK_SCROLL_START || scroll == GTK_SCROLL_END)
         gtk_range_scroll (range, scroll);